<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport"
			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="renderer" content="webkit">
		<title>后台管理</title>

		<meta name="decorator" content="datePicker"/>

		<script type="text/javascript">
			$(function() {
				$("#order").addClass("active");
				$("#order").find("ul li").eq(1).addClass("active");
			})
		</script>
	</head>
	<body>

		<div class="admin">
			<form action="<%=path %>/admin/order/order!export.action" method="post">
				<div class="panel">
					<div class="panel-head">
						<strong>导出订单</strong>
					</div>
					<div class="panel-body">
						<div class="form-group">
							<div class="label">
								<label for="sitename">
									开始时间
								</label>
							</div>
							<div class="field">
								<input name="order1.time1" id="startTime" type="text" class="input" placeholder="请输入开始时间"
								   onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'#F{$dp.$D(\'endTime\')}'})" />
							</div>
						</div>
						<div class="form-group">
							<div class="label">
								<label for="sitename">
									结束时间
								</label>
							</div>
							<div class="field">
								<input name="order1.time2" id="endTime" type="text" class="input" placeholder="请输入结束时间"
									onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'startTime\')}',maxDate:'%y-%M-%d %H:%m:%s'})" />
							</div>
						</div>
						<div class="form-group" style="clear:both;margin-top:10px;">
                            <div class="label">
                                <label for="sitename" style="font-weight:;">按订单状态导出</label>
                            </div>
                            <div class="">
                                <select id="selectid" class="border radius" style="width:100%;height:35px;"  name="order.status">
                                   <option value="待付款">待付款</option>
                                   <option value="已付款">已付款</option>
                                   <option value="待发货">待发货</option>
                                   <option value="已完成">已完成</option>
                                </select>
                           </div>
                        </div>

						<button class="button bg-sub" name="cx" onclick="getResult();">
							导出
						</button>
						</div>
						</div>
			</form>
		</div>





	</body>
</html>